package tables

type SchoolPosition struct {
	Model
	CareerID    uint   `json:"career_id"`
	Career      Career `json:"-"`
	Name        string `gorm:"type:varchar(100);comment:岗位名称" json:"name"`
	Pay         string `gorm:"type:varchar(100);comment:薪资月份" json:"pay"`
	Tag         string `gorm:"comment:标签,多个用逗号隔开" json:"tag"` //多个标签用逗号隔开
	CompanyInfo string `gorm:"comment:公司名称+融资阶段+规模" json:"company_info"`
	From        string `gorm:"type:varchar(100);comment:来源" json:"from"`
	Detail      string `gorm:"comment:详细信息" json:"detail"`
}

func (s *SchoolPosition) TableName() string {
	return "school_position"
}
